package com.atguigu.dao;

import com.atguigu.base.BaseDao;
import com.atguigu.entity.UserFollow;
import com.atguigu.vo.UserFollowVo;
import com.github.pagehelper.Page;
import org.apache.ibatis.annotations.Param;

/**
 * @author 杨林
 * @create 2022-09-25 14:25 星期日
 * description:
 */
public interface UserFollowDao extends BaseDao<UserFollow> {

    int isFollow(@Param("houseId") Long houseId, @Param("userId") Long userId);

    Page<UserFollowVo> findListPage(Long userId);
}
